import { defineStore } from "pinia";
// useStore could be anything like useUser, useCart
// the first argument is a unique id of the store across your application

export const useStore = defineStore("test", {
  // other options...
  state: () => ({
    counter: 0,
  }),
});

export default useStore();
